import request from '@/utils/request'


// 分页
export function queryData (query) {
  return request({
    url: '/drillHoleQuery/queryData',
    method: 'get',
    params: query
  })
}

// 地图切换分页
export function queryMapData (query) {
  return request({
    url: '/drillHoleQuery/queryMapData',
    method: 'get',
    params: query
  })
}

//根据id查询
export function getById (query) {
  return request({
    url: '/drillHoleQuery/getById',
    method: 'get',
    params: query
  })
}
//导出
export function exportData (query) {
  return request({
    url: '/drillHoleQuery/exportData',
    method: 'get',
    params: query
  })
}
//导出详情
export function exportDetails (query) {
  return request({
    url: '/drillHoleQuery/exportDetails',
    method: 'get',
    params: query
  })
}

//地图圈选查询
export function queryResultsByGeomText(query) {
  return request({
    url: '/drillHoleQuery/getByGeom',
    method: 'get',
    params: query
  })
}

//地图圈选列表展示查询查询
export function queryListResultsByGeomText(query) {
  return request({
    url: '/drillHoleQuery/getListByGeom',
    method: 'get',
    params: query
  })
}
